<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>仟途旅游给你发红包了</title>
</head>
<body style="padding:0px; margin:0px;background-color: #ff4424;font-family: '微软雅黑';color: yellow;">

<!--<div class="baseBlockIn"></div>-->
<img style="width:100%;padding:0px; margin:0px; height:12em" src="__PUBLIC__/images/hongbao/gong.jpg">
<div style="padding-top:0em;text-align:center">
    <img style="width:25%;margin:1em 0 0 0;border-radius:15px;" src="__PUBLIC__/images/hongbao/2.png">
    <div style="display:inline-block;width:10%"></div>
    <img style="width:16%;box-shadow: 5px 5px 5px rgba(50,50,50,0.4);border-radius:8px;" src="__PUBLIC__/images/hongbao/3.png">
</div>

<div  style="width:100%;right:0;left:0;margin-top: 1em;text-align:center;margin-left: auto;margin-right: auto">
    <div style="width:16em;height:auto;border-radius: 10px;border:3px solid yellow;margin-left: auto;margin-right: auto;padding-left: 1em;padding-right: 1em">
        <p style="margin-top: 10px;margin-bottom: 10px;font-size: 1.2em"  >恭喜恭喜！您的祝福，小仟已帮您送到啦！</p>
        <p id="text" style="margin-top: 0px;margin-bottom: 10px;font-size: 1.2em" >
        </p>
        <p id="text1" style="margin-top: 0px;margin-bottom: 10px;font-size: 1.2em" >
        </p>
    </div>
</div>

<div  style="width:100%;right:0;left:0;margin-top: 1em;text-align:center">
    <img id="cj" src="" style="width:16em;height: 16em" alt="">
    <h2>仟途旅游祝你新春快乐！</h2>
</div>
</body>
<script src="__PUBLIC__/js/jquery.js"></script>
<script>
    var a = document.getElementById("text");
    var b = document.getElementById("text1");
    var ka = "{$data['ka']}";
    if(ka==1){
        a.innerHTML = '恭喜你们双方都获得仟途旅游送出的双人出游8折券,记得长按识别二维码领劵哦';
        $('#cj').attr('scr',"__PUBLIC__/images/hongbao/shuang8.jpg");
    }else if(ka==3){
        a.innerHTML = '恭喜你们双方都获得仟途旅游送出的双人出游9折券,记得长按识别二维码领劵哦';
        $('#cj').attr('src',"__PUBLIC__/images/hongbao/shuang9.jpg");
    }else if(ka==2){
        a.innerHTML = '恭喜你们双方都获得仟途旅游送出的班级社团游8折券,记得长按识别二维码领劵哦';
        $('#cj').attr('src',"__PUBLIC__/images/hongbao/tuan8.jpg");
    }else if(ka==4){
        a.innerHTML = '恭喜你们双方都获得仟途旅游送出的班级社团游9折券,记得长按识别二维码领劵哦';
        $('#cj').attr('src',"__PUBLIC__/images/hongbao/tuan9.jpg");
    }else if(ka==0){
        a.innerHTML = '恭喜你们双方都获得仟途旅游送出的现金红包';
        b.innerHTML = '红包是年初一晚上21点发送哦！'
        $('#cj').attr('style','display:none');
    }
</script>
</html>